package com.smz.service;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.smz.entity.TLogistics;
import com.smz.entity.TVehicleCar;
import com.smz.entity.TVehicleDriver;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface TVehicleDriverService extends IService<TVehicleDriver> {

    IPage<TVehicleDriver> findTVehicleDriverPage(int current, int size);

    IPage<TVehicleDriver> findTVehicleDriverId(int current, int size, @Param("driverId") int driverId);

    IPage<TVehicleDriver> findTVehicleDriverNameNumber(int current, int size,
                                                       @Param("driverName") String driverName,
                                                       @Param("driverLicense") String driverLicense);

    List<TLogistics> findTLogistics();

    List<TVehicleCar> findTVehicleCar();
}

